﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <a href="http://www.taobao.com/">淘宝</a><br />
    <a href="http://www.youku.com/">优酷</a><br />
    <a href='http://www.youzu.com/'>游族</a><br />
    <a id="baidu" href='http://www.baidu.com/'>百度</a><br />
    <a id='baidu' href='http://map.baidu.com/'>百度地图</a><br />
    <a href='http://www.le.com/'>乐视</a><br />
    <a href='http://download.csdn.net/'>CSDN</a><br />
    <a href='http://www.yvoschaap.com/chainrxn/'>2D测试</a><br />
    <a href='https://www.benjoffe.com/code/demos/canvascape/textures'>3D测试</a><br />
    <a href='http://www.jz5u.com/soft/softdown.asp?softid=18109'>下载测试</a><br />
    <a href='http://workerman.net:8383/'>蝌蚪聊天室</a><br />
    <a href='http://chat.workerman.net/'>Websocket聊天室</a><br />
    <a href='http://www.workerman.net/demos/browserquest/'>Websocket在线游戏</a><br />
    <input type="button" onclick="OnBtnClick()" value="获取网页源码" />
    <input type="button" onClick="Call(110)" value="Call" />
    <input type="button" onClick="Shutdown()" value="Shutdown" />
    <input type="button" onClick="_persons()" value="Persons" />
    <input type="button" onClick="Start()" value="Start 不会执行" />

    <script>
        function _persons() {
            var json = Persons();
            var persons = JSON.parse(json);
            console.log(persons);
            var t = persons.map(p => `姓名${p.Name}, 电话${p.PhoneNumber}`)
            alert(t.join("\n"));
        }
    </script>
</body>

</html>